package me.mengjiandu.entity;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

@JsonInclude(Include.NON_NULL)
public class Blog {

	private String id;
	private String title;
	private String content;
	private List<Cate> cates;
	
	public List<Cate> getCates() {
		return cates;
	}
	public void setCates(List<Cate> cates) {
		this.cates = cates;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	@Override
	public String toString() {
		return "Blog [id=" + id + ", title=" + title + ", content=" + content + ", cates=" + cates + "]";
	}
	
	
}
